package com.springboot.demo.service;

import com.github.pagehelper.PageInfo;
import com.springboot.demo.domain.User;

public interface UserManager {

    boolean save(User user);

    boolean remove(String id);

    boolean batchRemove(String[] ids);

    boolean updateUser(User user);

    User getUser(String userId);

    PageInfo<User> getUserList(int limit, int offset, String nickName, String statu);
}
